package cn.sq.scaffold.ffmpeg.video.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author SQ
 * @since 2020-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
//@ApiModel(value = "SqVideo对象", description = "")
public class SqVideo implements Serializable {

    private static final long serialVersionUID = 1L;

//    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

//    @ApiModelProperty(value = "发起人")
    private String initiator;

//    @ApiModelProperty(value = "发起时间")
    @TableField("initTime")
    private LocalDateTime initTime;

//    @ApiModelProperty(value = "修改时间")
    @TableField("modifyTime")
    private LocalDateTime modifyTime;

//    @ApiModelProperty(value = "主要内容")
    @TableField("mainContent")
    private String mainContent;

//    @ApiModelProperty(value = "文章作者")
    private String author;

//    @ApiModelProperty(value = "标题")
    private String title;

//    @ApiModelProperty(value = "单位")
    private String unit;

//    @ApiModelProperty(value = "简介")
    private String introduce;

//    @ApiModelProperty(value = "本地视频存储地址")
    @TableField("imageUrl")
    private String imageUrl;

//    @ApiModelProperty(value = "视频播放地址")
    @TableField("videoPlayUrl")
    private String videoPlayUrl;
//    是否有效 1有效0无效

    @TableField("flag")
    @TableLogic
    private Integer flag;



}
